package com.weiyuwqj.server.mapper;

import com.weiyuwqj.api.model.BusAssetCollect;
import com.weiyuwqj.api.model.vo.RepayCollectVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;
@Repository
public interface BusAssetCollectMapper extends Mapper<BusAssetCollect> {
    List<RepayCollectVo> listByPlanIdAndCurrentPeriod(@Param("packagePlanId")Integer packagePlanId,
                                                      @Param("periods")Integer periods,
                                                      @Param("itemId")Integer itemId);

    //更新实际待收情况
    int updateActualCollect(Map map);
}